package com.zbs.framework.dao.phonevcode;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Zbs
 * 2017-08-11
 */
@Configuration
@ConfigurationProperties(prefix = "phone.vcode")
public class PhoneVCodeSettings {

    private Long validPeriod;

    private Long repeatLimit;

    private boolean doValidate = true;

    public Long getValidPeriod() {
        return validPeriod;
    }

    public void setValidPeriod(Long validPeriod) {
        this.validPeriod = validPeriod;
    }

    public Long getRepeatLimit() {
        return repeatLimit;
    }

    public void setRepeatLimit(Long repeatLimit) {
        this.repeatLimit = repeatLimit;
    }

    public boolean isDoValidate() {
        return doValidate;
    }

    public void setDoValidate(boolean doValidate) {
        this.doValidate = doValidate;
    }
}
